ExpandPath(relative_path)Returns a path equivalent to the relative_path appended to the base template path. Note the following:
- ExpandPath creates a platFORM-appropriate path. You can use either a slash (/) or a back slash (\) in the specified relative path.
- The return value contains a trailing slash (or back slash) if the specified relative path contains a trailing slash (or back slash).
See also FileExists, GetCurrentTemplatePath, and GetFileFromPath.
Any relative path. ExpandPath converts relative directory references (.\ and ..\)to an absolute path. The function throws an error if this argument or the resulting absolute path is invalid.